package com.frxuexi.park2304.my

import com.frxuexi.lib_base.mvi.IUiIntent

sealed class MyIntent:IUiIntent {
    data class getMyPark(val uid:Int):MyIntent()

    data class getMyVisit(val uname:String):MyIntent()

    data class getMyRepairs(val uname:String):MyIntent()

    data class getMyPatrols(val uid:Int):MyIntent()

    data class getParksByType(val type:String):MyIntent()

    data object getVisits:MyIntent()

    data object getNews:MyIntent()

    data class updatePark(val id:Int,val status:String):MyIntent()

    data class approveVisit(val id:Int):MyIntent()

    data class rejectVisit(val id:Int):MyIntent()

    data class revokeNews(val id:Int):MyIntent()
}